
# pin id > 0 时才有效

class Pin:
    
    def __init__(self,name="",parent = None) -> None:
        self.id=0
        self.name = name
        self.parent = parent
        self.bit = 'x'
        pass

    def set_parent(self,parent):
        self.parent = parent
    def set_bit(self,bit):
        self.bit = bit

    def get_bit(self):
        return self.bit


